﻿using FarmSmartSleep.Common.Domain.AubitFile;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FarmSmartSleep.Common.Domain.RBACFile
{
    /// <summary>
    /// 角色表
    /// </summary>
    public class Roles:Aubuit
    {
        /// <summary>
        /// 角色ID (主键，自增，不可为空)
        /// </summary>
        [Key]
        public int RolesId { get; set; }

        /// <summary>
        /// 角色名称 (可空)
        /// </summary>
        public string? RoleName { get; set; }

        /// <summary>
        /// 描述 (可空)
        /// </summary>
        public string? Description { get; set; }

        
    }
}
